Skip to content

fix: always release parsed syntax trees#156

Merged
DataDave-Dev merged 1 commit into
DataDave-Dev:mainfrom
AysajanE:northset/M-147
Jul 25, 2026
Merged

fix: always release parsed syntax trees#156
DataDave-Dev merged 1 commit into
DataDave-Dev:mainfrom
AysajanE:northset/M-147

Conversation

@AysajanE

Copy link
Copy Markdown
Contributor

Summary

Release a created syntax tree even when capture or extraction throws, while preserving the original error.

Change

  • src/lib/analysis/analyzers/shared.test.ts
  • src/lib/analysis/analyzers/shared.ts

Checks

  • npm test -- src/lib/analysis/analyzers/shared.test.ts — passed in a network-isolated container.

Fixes #34


AI assistance was used; I reviewed and own this change.

Verification

Northset proof-of-pass receipt M-147
Contributor self-run; not maintainer verification.

Signed-off-by: Aysajan Eziz <aeziz@northset.ai>
@DataDave-Dev
DataDave-Dev merged commit 78b15ee into DataDave-Dev:main Jul 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tree.delete() skipped on error path — wrap parse+extract in try/finally

2 participants